package com.groupbuying.payconsumer.domain;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;


/**
 * 支付宝支付结果回执表
 * 
 * @author Vincentxin
 * @email vincentxin@aliyun.com
 * @date 2019-08-12 14:30:49
 * @des
 */
public class PayAlipayResultDO implements Serializable {
	private static final long serialVersionUID = 1L;
	

	/**
	 * 用于第三方支付的支付单号
	 */
	private String id;

	/**
	 * 删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	private String isDelete;

	/**
	 * 创建时间
	 */
	private Date gmtCreate;

	/**
	 * 更新时间
	 */
	private Date gmtModified;

	/**
	 * 支付金额
	 */
	private BigDecimal totalAmount;

	/**
	 * 支付宝支付订单号
	 */
	private String tradeNo;

	/**
	 * 支付状态:等待付款-WAIT-WAIT_BUYER_PAY,交易关闭-CLOSED-TRADE_CLOSED,交易成功-SUCCESS-TRADE_SUCCESS,交易结束-FINISHED-TRADE_FINISHED
	 */
	private String resultCode;

	/**
	 * 用户付款时间
	 */
	private Date gmtPayment;

	/**
	 * 设置：用于第三方支付的支付单号
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * 获取：用于第三方支付的支付单号
	 */
	public String getId() {
		return id;
	}
	/**
	 * 设置：删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}
	/**
	 * 获取：删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	public String getIsDelete() {
		return isDelete;
	}
	/**
	 * 设置：创建时间
	 */
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getGmtCreate() {
		return gmtCreate;
	}
	/**
	 * 设置：更新时间
	 */
	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}
	/**
	 * 获取：更新时间
	 */
	public Date getGmtModified() {
		return gmtModified;
	}
	/**
	 * 设置：支付金额
	 */
	public void setTotalAmount(BigDecimal totalAmount) {
		this.totalAmount = totalAmount;
	}
	/**
	 * 获取：支付金额
	 */
	public BigDecimal getTotalAmount() {
		return totalAmount;
	}
	/**
	 * 设置：支付宝支付订单号
	 */
	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}
	/**
	 * 获取：支付宝支付订单号
	 */
	public String getTradeNo() {
		return tradeNo;
	}
	/**
	 * 设置：支付状态:等待付款-WAIT-WAIT_BUYER_PAY,交易关闭-CLOSED-TRADE_CLOSED,交易成功-SUCCESS-TRADE_SUCCESS,交易结束-FINISHED-TRADE_FINISHED
	 */
	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}
	/**
	 * 获取：支付状态:等待付款-WAIT-WAIT_BUYER_PAY,交易关闭-CLOSED-TRADE_CLOSED,交易成功-SUCCESS-TRADE_SUCCESS,交易结束-FINISHED-TRADE_FINISHED
	 */
	public String getResultCode() {
		return resultCode;
	}
	/**
	 * 设置：用户付款时间
	 */
	public void setGmtPayment(Date gmtPayment) {
		this.gmtPayment = gmtPayment;
	}
	/**
	 * 获取：用户付款时间
	 */
	public Date getGmtPayment() {
		return gmtPayment;
	}

    @Override
    public String toString() {
        return "PayAlipayResultDO{" +
									                    "id=" + id +
					                										",isDelete=" + isDelete +
					                										",gmtCreate=" + gmtCreate +
					                										",gmtModified=" + gmtModified +
					                										",totalAmount=" + totalAmount +
					                										",tradeNo=" + tradeNo +
					                										",resultCode=" + resultCode +
					                										",gmtPayment=" + gmtPayment +
					                				"}";
    }
}
